package com.redsoil.house.di.component;

import android.app.Activity;


import com.redsoil.house.di.module.FragmentModule;
import com.redsoil.house.di.scope.FragmentScope;
import com.redsoil.house.ui.capital.fragment.CapitalFragment;
import com.redsoil.house.ui.capital.fragment.CapitalInfoFragment;
import com.redsoil.house.ui.capital.fragment.CapitalPropertyListFragment;
import com.redsoil.house.ui.mine.fragment.MineFragment;
import com.redsoil.house.ui.mine.fragment.MineInfoFragment;
import com.redsoil.house.ui.mine.fragment.MineSpecialFragment;
import com.redsoil.house.ui.news.fragment.NewsListFragment;
import com.redsoil.house.ui.property.fragment.PropertyFileFragment;
import com.redsoil.house.ui.property.fragment.PropertyIncomeFragment;
import com.redsoil.house.ui.property.fragment.PropertyInfoFragment;
import com.redsoil.house.ui.property.fragment.PropertyLeaseFragment;

import dagger.Component;

/**
 * Created by weidingqiang on 16/8/7.
 */

@FragmentScope
@Component(dependencies = AppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {

    Activity getActivity();

    void inject(CapitalFragment capitalFragment);

    void inject(CapitalInfoFragment capitalInfoFragment);

    void inject(CapitalPropertyListFragment capitalPropertyListFragment);

    void inject(PropertyInfoFragment propertyInfoFragment);

    void inject(PropertyLeaseFragment propertyLeaseFragment);

    void inject(PropertyIncomeFragment propertyIncomeFragment);

    void inject(PropertyFileFragment propertyFileFragment);

    void inject(NewsListFragment newsListFragment);

    void inject(MineInfoFragment mineInfoFragment);

    void inject(MineSpecialFragment mineSpecialFragment);

    void inject(MineFragment mineFragment);
}
